import random, pygame, sys
screen= pygame.display.set_mode([650,490])
x = random.randint(1,156)
y = random.randint(1,256)
z = random.randint(1,101)
screen.fill([x,y,z])

def project_seizures(r,g,b,x,y):
   l = random.randint(0,650-x)
   h = random.randint(0,490-y)
   pygame.draw.rect(screen, [r,g,b], [x,y,l,h], 0)
   pygame.display.flip()
def math(m,G,c):
   m = random.randint(1,10000)
   G = random.randint(1,20000)
   c = random.randint(1,30000)
   print m*c
   print c*G
   print m-c
   print c-G  
   print m+c
   print c+G      
   print m/c
   print c/G
   print m*m
   print c*c
   print G*G
   print "AaBbCc.....Zzzzzzzzzzzzzzzzzzzz!!!"
runner = True
while runner:
   r = random.randint(0,255)
   g = random.randint(0,255)
   b = random.randint(0,255)
   x = random.randint(0,601)
   y = random.randint(0,401)
   m = random.randint(0,10000)
   G = random.randint(0,20000)
   c = random.randint(0,30000)
   project_seizures(r,g,b,x,y)
   math(m,G,c)
   print r,g,b,x,y,m,c,G,z,"hi"
   for event in pygame.event.get():
      if event.type == pygame.QUIT: 
         runner = False
         print 'I neeeeeed aaaaaaaaaaaaaaa neeeeeeeeeeeeew pow-er su-pl--ey! crash'
      else:
         runner = True
         mom = math(m,G,c)
         print mom
pygame.quit()
         
   